<seed-content [class.gray-background]="dataStore.bill.length>0" >
  <seed-toolbar-header>
    <seed-toolbar-title>明细</seed-toolbar-title>
    <seed-toolbar-menu></seed-toolbar-menu>
  </seed-toolbar-header>
  <seed-infinite-scroll (infiniteScroll)="getWalletBill()" *ngIf="dataStore.bill">
    <div class="detail-item seed-underline seed-underline" *ngFor="let item of dataStore.bill">
      <div class="left">
        <div class="icon">
          <img [src]="imageUtil.iconsPath + 'money_in.png'"  *ngIf="item.type==1">
          <img [src]="imageUtil.iconsPath + 'money_out.png'" *ngIf="item.type==2">
        </div>
        <div class="word">
          <p class="name">{{item.accountName}}</p>
          <p class="time">
            {{item.createDate | date:'yyyy-MM-dd HH:MM:ss'}}
          </p>
        </div>

      </div>
      <div class="right" *ngIf="item.tradeType == 2">
        <p class="money">{{item.type == 1? "+": "-" }}{{item.amountMoney / 100}}</p>
        <p class="status ing" *ngIf="item.status != 2 && item.status != 3 && item.status !=8">{{item.statusMessage}}</p>
        <p class="status error" *ngIf="item.status == 3 || item.status ==8">{{item.statusMessage}}</p>
      </div>
      <div class="right" *ngIf="item.tradeType != 2">
        <p class="money">{{item.type == 1? "+": "-" }}{{item.amountMoney / 100}}</p>
        <!-- <p class="status error" *ngIf="item.status == 3 || item.status ==8" >交易失败</p> -->
      </div>
    </div>
    <missing-default-content *ngIf="dataStore.bill.length==0"></missing-default-content>
    <seed-infinite-scroll-content *ngIf="dataStore.bill.length>0"></seed-infinite-scroll-content>
  </seed-infinite-scroll>
</seed-content>
<!--<seed-default-graph *ngIf="!stateStore.haveData" [url]="'noData'"></seed-default-graph>-->
